#!/usr/bin/env python
# coding: utf-8

"""
@file: donate.py
@author: cg 
@date: 2020/2/27 10:08
@desc:物资捐赠支用小程序
    
"""
wuzi = {"kouzhao":1000000}
donate_records = [{"who":"gu","what":"kouzhao","amount":100000},{},{}]
dispatch = [ ]

def donate(who, what, amount):
    """
    捐赠
    :return:
    """
    if what in wuzi:
        wuzi[what] += amount
    else:
        wuzi[what] = amount

def dispatch(hos, what, amount):
    pass

def view():
    pass